﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PIM_ATE.Electrical
{
    class ClsDataSParam
    {
        public static string chn_ParamName = "参数名称";
        public static string chn_FactSpec = "内控要求";
        public static string chn_Freq = "Freq";
        public static string chn_Band = "Band";
        public static string chn_TestNo = "TestNo";
        public static string chn_Done = "Done";
        public static string chn_PortA = "1端口连接";
        public static string chn_PortB = "2端口连接";
        public static string chn_PortType = "测试内容";
        public static string chn_FormatType = "测试数据2";
        public static string chn_Report = "报表内容";
        public static string chn_InstrCtrl = "仪表控制列";


        public static string chn_Value = "测试值";
        public static string chn_Result = "结果";
        public static string chn_LastValue = "上次值";
        public static string chn_LastResult = "上次结果";
    }

    public class JcInstrument
    {
        public clsBaseVNA curVNA;
        public InstrSwitch _InstrSwitch;
        //public clsInstrVNA_5062 _clsInstrVNA;

        public int Switch_Type;//开关箱类型，0:紫光  1:三维  2:不使用开关箱
        public string Switch_ConnPort;//紫光开关箱串口号
        public int Switch_Count;//开关箱端口数量
        public string VNA_Addr;//仪表地址
        //public int VNA_X_Type;//测试类型
        public string VNAName;//仪表类型名
        public string Switch_Address;//通用开关地址

        public int RCU_Check;
        public int RCU_Type;
        public string RCU_Addr;//RCU端口

        public int ECal;
        //public int TestTimes;
        public float ECal_FULL_Freq1;
        public float ECal_FULL_Freq2;
        public float ECal_SPE_Freq1;
        public float ECal_SPE_Freq2;

        public bool root = true;
    }
    class TestPortInfo
    {
        /***********************************************/
        public List<string> lstTestPort ;
        public List<string> lstTips ;
        public List<string> lstAngle ;
        /***********************************************/

        //public string PortTip;
        //public string sRCUIndex;
        //public Dictionary<string, int> dicBandAndIndex;

        //public int iDutPort;
        //public int iMaxAngle = int.MinValue;
        //public int iMinAngle = int.MaxValue;
        //public List<int> lstTestAngle = new List<int>();
        //public bool isManualRCU;
    }
}
